package com.ruoyi.carton.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.carton.domain.OrderRequest;
import com.ruoyi.carton.domain.bo.OrderRequestWithCardboardBO;
import com.ruoyi.carton.domain.vo.OrderRequestQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 时空
* @description 针对表【order_request(请购纸板表)】的数据库操作Mapper
* @createDate 2025-06-28 13:26:40
* @Entity com.ruoyi.carton.domain.OrderRequest
*/
public interface OrderRequestMapper extends BaseMapper<OrderRequest> {


    OrderRequestWithCardboardBO selectWithCardboardById(@Param("id") Integer id);

//    List<OrderRequestWithCardboardBO> selectWithBoxAndCardboardList();
    List<OrderRequestWithCardboardBO> selectWithBoxAndCardboardList(@Param("query") OrderRequestQuery query);

}




